package cn.gdk.gaodekecc.service;

import cn.gdk.gaodekecc.domain.MovieTicket;
import cn.gdk.gaodekecc.domain.User;
import cn.gdk.gaodekecc.result.JSONResult;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author director
 * @since 2022-11-25
 */
public interface IUserService extends IService<User> {

    JSONResult queryMovie();

    JSONResult buy(Long movieId, Integer count);

    JSONResult movieTicketViewing(Long movieId, Integer count, Long userId);

    JSONResult register(User user);

}
